package com.tedu.egmybatis3.mapper;

import com.tedu.egmybatis3.pojo.Customer;
import com.tedu.egmybatis3.pojo.CustomersVO1;
import com.tedu.egmybatis3.pojo.CustomersVO2;
import com.tedu.egmybatis3.pojo.CustomersVO3;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerMapper {

    int insertCustomer(Customer customer);

    CustomersVO1 selectCustomerById(String id);

    List<CustomersVO2> selectCustomerCity(String city);

    List<CustomersVO3> selectCustomerAndOrder(String custName);




}
